package com.whacos.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whacos.common.entity.Tree;
import com.whacos.modules.system.entity.SysDept;
import org.springframework.stereotype.Service;

/**
 * @author xiongdun
 * @description SysDeptService 部门管理
 * @since 2018/11/17 17:11
 */
//@Service
public interface SysDeptService extends IService<SysDept> {

    Tree<SysDept> getTree();

    boolean checkDeptHasUser(Long deptId);
}
